<template>
  <ElIcon :size="size">
    <component :is="icon" />
  </ElIcon>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'DefaultIcon',
  props: {
    icon: {
      type: String,
      default: ''
    },
    size: {
      type: Number,
      default: 16
    }
  }
})
</script>

